#ifndef __MUTEXS_H__
#define __MUTEXS_H__
#define JPG_MAX_SIZE	(1024 * 1024 - sizeof (unsigned int))

struct jpg_buf_t {
	char jpg_buf[JPG_MAX_SIZE];
	unsigned int jpg_size;
};
extern struct jpg_buf_t *jpg;
extern int sync_flag;
extern pthread_mutex_t cam_mutex;
extern pthread_mutex_t send_mutex;
#endif
